package com.spinettaro.arduinoledscontrol;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class ArduinoReceiver extends BroadcastReceiver {

	String tag = "intent";
	
	@Override
	public void onReceive(Context context, Intent intent) {
		
		byte[] data = intent.getByteArrayExtra("primavera.arduino.intent.extra.DATA");
		String character = data.toString();
		Log.d(tag, character);
		
	}

}
